package com.bootdo.sell.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

import com.bootdo.sell.dao.ReturnDao;
import com.bootdo.sell.domain.RetDO;
import com.bootdo.sell.service.ReturnService;



@Service
public class ReturnServiceImpl implements ReturnService {
	@Autowired
	private ReturnDao returnDao;
	
	@Override
	public RetDO get(Integer id){
		return returnDao.get(id);
	}
	
	@Override
	public List<RetDO> list(Map<String, Object> map){
		return returnDao.list(map);
	}
	
	@Override
	public int count(Map<String, Object> map){
		return returnDao.count(map);
	}
	
	@Override
	public int save(RetDO ret){
		return returnDao.save(ret);
	}
	
	@Override
	public int update(RetDO ret){
		return returnDao.update(ret);
	}
	
	@Override
	public int remove(Integer id){
		return returnDao.remove(id);
	}
	
	@Override
	public int batchRemove(Integer[] ids){
		return returnDao.batchRemove(ids);
	}
	
}
